package mvc.model.service;

import mvc.model.pojos.CartBean;
import mvc.model.vo.Cart;

import java.util.List;

public interface CartService {
    CartBean queryOne(int cartnumber);

    List<CartBean> query(int uid);

    Cart queryOneVO(int cartnumber);

    List<Cart> queryVO(int uid);

    void upCart(CartBean cartBean, int cartnumber);

    void upCartAll(int uid, int checked);

    List<Cart> queryChecked(int uid);

    void addCart(CartBean cart);

    CartBean queryByPid(int pid, int uid);

}
